// PropertyTextWindow.h: interface for the PropertyTextWindow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROPERTYTEXTWINDOW_H__443C9C4E_9D38_49D6_AEF1_8CF4E3DBF617__INCLUDED_)
#define AFX_PROPERTYTEXTWINDOW_H__443C9C4E_9D38_49D6_AEF1_8CF4E3DBF617__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PropertySubWindow.h"

class PropertyTextWindow : public PropertySubWindow  
{
	class CEditEX : public CEdit
	{
		// Construction
	public:
		CEditEX();
		
		// Attributes
	public:
		
		// Operations
	public:
		
		// Overrides
		// ClassWizard generated virtual function overrides
		//{{AFX_VIRTUAL(CEditEX)
		//}}AFX_VIRTUAL
		
		// Implementation
	public:
		virtual ~CEditEX();
		
		PropertySystem::CustomVariable* m_pVar;
		PropertyTextWindow* m_pWnd;
		// Generated message map functions
	protected:
		//{{AFX_MSG(CEditEX)
		afx_msg void OnChange();
		//}}AFX_MSG
		
		DECLARE_MESSAGE_MAP()
	};

	

public:
	PropertyTextWindow();
	virtual ~PropertyTextWindow();

public:
	virtual void UpdatePropertyData(BOOL bState = TRUE);
	virtual BOOL Create(CWnd* pParent, UINT nID);
	virtual void SetFont(CFont* pFont);

private:
	CEditEX m_Edit;
};

#endif // !defined(AFX_PROPERTYTEXTWINDOW_H__443C9C4E_9D38_49D6_AEF1_8CF4E3DBF617__INCLUDED_)
